package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@SpringBootApplication
@RestController
public class DemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoApplication.class, args);
	}

	@RequestMapping("/hi")
	String hi() {
		System.out.println("hi");
		return "hi";
	}

	@RequestMapping("/api/yy/get_user_photo_list")
	String test(@RequestBody Map<String, Object> map) {

		System.out.println("1");
		return null;
	}
}
